CentOS 5
Sponsored Link

Install Amazon EC2 tools
  Eucalyptus has Amazon EC2 compatible API, so it's possible to use Amazon EC2 tools.

[1] Install Amazon EC2 tools
[root@frontend ~]#
mkdir ec2ool

[root@frontend ~]#
cd ec2ool

[root@frontend ec2ool]#
wget http://s3.amazonaws.com/ec2-downloads/ec2-api-tools-1.3-30349.zip http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools-1.3-26357.zip

[root@frontend ec2ool]#
unzip ec2-ami-tools-1.3-26357.zip

[root@frontend ec2ool]#
unzip ec2-api-tools-1.3-30349.zip

[root@frontend ec2ool]#
rm -f ec2-ami-tools-1.3-26357.zip

[root@frontend ec2ool]#
rm -f ec2-api-tools-1.3-30349.zip

[root@frontend ec2ool]#
vi ~/.bashrc


# add at the bottom

export EC2_HOME=/root/ec2ool/ec2-api-tools-1.3-30349
export EC2_AMITOOL_HOME=/root/ec2ool/ec2-ami-tools-1.3-26357
export PATH=$PATH:$EC2_HOME/bin:$EC2_AMITOOL_HOME/bin
export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64


[root@frontend ec2ool]#
source .bashrc
[2] Operation cheking
[root@frontend ~]#
ec2-describe-images

IMAGE
eki-8DDF16EC
centos-kernel-bucket/vmlinuz-2.6.27.21-0.1-xen.manifest.xml   admin   available   public   x86_64   kernel


IMAGE
eri-887216DE
centos-ramdisk-bucket/initrd-2.6.27.21-0.1-xen.manifest.xml   admin   available   public   x86_64   ramdisk


IMAGE
emi-1CCC15AD
centos-image-bucket/centos.5-3.x86-64.img.manifest.xml   admin   available   public   x86_64   machine
 
Tweet